import request from "@/utils/request";

// 用户登录
export const loginApi = data => request({
  url: '/v1_0/authorizations',
  method: 'POST',
  data
})

// 发送验证码
export const smsApi = mobile => request({
  url: `/v1_0/sms/codes/${mobile}`
})